home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 16 / wpmac5.zip / SETUP.BAT < prev    next >
DOS Batch File  |  1989-01-20  |  1KB  |  40 lines

  1. echo off
  2. cls
  3. :again 
  4. echo This allows you to choose between WP50
  5. echo using 4.2 units, or using inches.
  6. echo 
  7. echo If you proceed, you must have this batch file
  8. echo in the same directory as your macros.
  9. echo 
  10. echo Running this will rename a few macros from the 
  11. echo temporary extension of *.in or *.42 to *.wpm,
  12. echo which is necessary for them to be used.
  13. echo 
  14. echo Press [1] to setup with 4.2 units
  15. echo Press [2] to setup with inches
  16. echo Press [3] to exit with nothing done.
  17. echo 
  18. choose
  19. rem This is a PD program that I type from DEBUG script years ago.
  20. rem Don't know real author.  Only a few lines of assembly code.
  21. rem I use it all the time. Virus free!
  22. if errorlevel 4 goto again 
  23. if errorlevel 3 goto quit
  24. if errorlevel 2 goto two 
  25. if errorlevel 1 goto one 
  26. goto again 
  27. :one
  28. cls
  29. ren *.42 *.wpm
  30. echo Files Renamed for 4.2 units.
  31. goto message
  32. :two
  33. cls
  34. ren *.in *.wpm
  35. echo Files renamed for inches.
  36. goto message
  37. :message
  38. echo Done.  Don't forget to run SETUP macro when you next start WP5.
  39. :quit
  40.